<div class="container">
    <div class="row">
        <div class="col-md-12">
            <table class="table">
                <tr>
                    <td>用户名</td>
                    <td>邮箱</td>
                    <td>积分</td>
                    <td>会员等级</td>
                    <td>操作</td>
                </tr>
                <tr ng-repeat="user in userList">
                    <td>{{user.username}}</td>
                    <td>{{user.email}}</td>
                    <td>{{user.score}}</td>
                    <td>{{user.grade}}</td>
                    <td>
                        <button class="btn btn-primary">
                            详情
                        </button>
                    </td>
                </tr>
            </table>
        </div>
    </div>

    <div class="row">
        <div class="col-md-3">当前页：{{query.pages + 1}}，总页数：{{query.totalPages}}，总条数：{{query.total}}</div>
        <div class="col-md-7" style="text-align: center;">
            <nav aria-label="Page navigation">
                <ul class="pagination pagination-lg">
                    <li>
                      <a ng-click="collect.prePage()">
                        <span aria-hidden="true">&laquo;</span>
                      </a>
                    </li>
                    <li ng-show="collect.showPage(0)"><a>{{collect.showPageVal(1)}}</a></li>
                    <li ng-show="collect.showPage(1)"><a>{{collect.showPageVal(2)}}</a></li>
                    <li ng-show="collect.showPage(2)"><a>{{collect.showPageVal(3)}}</a></li>
                    <li ng-show="collect.showPage(3)"><a>{{collect.showPageVal(4)}}</a></li>
                    <li ng-show="collect.showPage(4)"><a>{{collect.showPageVal(5)}}</a></li>
                    <li>
                        <a ng-click="collect.nextPage()">
                            <span aria-hidden="true">&raquo;</span>
                        </a>
                    </li>
                </ul>
            </nav> 
        </div>
        <div class="col-md-2"></div>
    </div>  
</div>